package com.vitabuybuy.tv.ui.shopcenter.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemFirstCateBinding
import com.vitabuybuy.tv.dto.ClassificationDto
import com.library.common.base.BindRecycAdapter

class FirstClassificationAdapter : BindRecycAdapter<ItemFirstCateBinding,ClassificationDto>(){
    override fun onBindViewHolder(
        mBinding: ItemFirstCateBinding,
        itemData: ClassificationDto,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemBean = itemData
    }
    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_first_cate
    }
}
